#ifndef CPLATFORM_H_
#define CPLATFORM_H_
#include "CBase.h"
#include "CShape.h"
#include "CTextureManager.h"

class CPlatform : public CBase
{

public:
	float		m_fThetaFirst;		
	float		m_fThetaSecond;
	float		m_fOuterLimit;
	float		m_fInnerLimit;
	Texture*	m_pTexHandle;
	CShape		m_shapeObject;
	bool		m_bVisible;
	int			m_nDirection;
	bool		m_bCollidable;

	CPlatform();
	~CPlatform();
	void Render();
	void Update(float fElapsed);
	void CreateNoodle(void) { m_shapeObject.MakeNoodle( m_fThetaFirst, m_fThetaSecond, m_fInnerLimit, m_fOuterLimit, 6); }
	void MovePlatform(float fElapsed);
};

#endif